import { history } from '@umijs/max';

export default () => {
  const query = history.location.search as string;
  return {
    query,
  };
};
